package com.fc.test.model.auto;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 *  ForeCompanyExample
 * @author fuce_自动生成
 * @email 115889198@qq.com
 * @date 2020-04-26 16:59:02
 */
public class ForeCompanyExample {

    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ForeCompanyExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }
				
        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("id like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("id not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }
        
			
        public Criteria andUsernameIsNull() {
            addCriterion("username is null");
            return (Criteria) this;
        }

        public Criteria andUsernameIsNotNull() {
            addCriterion("username is not null");
            return (Criteria) this;
        }

        public Criteria andUsernameEqualTo(String value) {
            addCriterion("username =", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotEqualTo(String value) {
            addCriterion("username <>", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameGreaterThan(String value) {
            addCriterion("username >", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameGreaterThanOrEqualTo(String value) {
            addCriterion("username >=", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameLessThan(String value) {
            addCriterion("username <", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameLessThanOrEqualTo(String value) {
            addCriterion("username <=", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameLike(String value) {
            addCriterion("username like", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotLike(String value) {
            addCriterion("username not like", value, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameIn(List<String> values) {
            addCriterion("username in", values, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotIn(List<String> values) {
            addCriterion("username not in", values, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameBetween(String value1, String value2) {
            addCriterion("username between", value1, value2, "username");
            return (Criteria) this;
        }

        public Criteria andUsernameNotBetween(String value1, String value2) {
            addCriterion("username not between", value1, value2, "username");
            return (Criteria) this;
        }
        
			
        public Criteria andPasswordIsNull() {
            addCriterion("password is null");
            return (Criteria) this;
        }

        public Criteria andPasswordIsNotNull() {
            addCriterion("password is not null");
            return (Criteria) this;
        }

        public Criteria andPasswordEqualTo(String value) {
            addCriterion("password =", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordNotEqualTo(String value) {
            addCriterion("password <>", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordGreaterThan(String value) {
            addCriterion("password >", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordGreaterThanOrEqualTo(String value) {
            addCriterion("password >=", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordLessThan(String value) {
            addCriterion("password <", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordLessThanOrEqualTo(String value) {
            addCriterion("password <=", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordLike(String value) {
            addCriterion("password like", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordNotLike(String value) {
            addCriterion("password not like", value, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordIn(List<String> values) {
            addCriterion("password in", values, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordNotIn(List<String> values) {
            addCriterion("password not in", values, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordBetween(String value1, String value2) {
            addCriterion("password between", value1, value2, "password");
            return (Criteria) this;
        }

        public Criteria andPasswordNotBetween(String value1, String value2) {
            addCriterion("password not between", value1, value2, "password");
            return (Criteria) this;
        }
        
			
        public Criteria andCompanyNameIsNull() {
            addCriterion("company_name is null");
            return (Criteria) this;
        }

        public Criteria andCompanyNameIsNotNull() {
            addCriterion("company_name is not null");
            return (Criteria) this;
        }

        public Criteria andCompanyNameEqualTo(String value) {
            addCriterion("company_name =", value, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameNotEqualTo(String value) {
            addCriterion("company_name <>", value, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameGreaterThan(String value) {
            addCriterion("company_name >", value, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameGreaterThanOrEqualTo(String value) {
            addCriterion("company_name >=", value, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameLessThan(String value) {
            addCriterion("company_name <", value, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameLessThanOrEqualTo(String value) {
            addCriterion("company_name <=", value, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameLike(String value) {
            addCriterion("company_name like", value, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameNotLike(String value) {
            addCriterion("company_name not like", value, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameIn(List<String> values) {
            addCriterion("company_name in", values, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameNotIn(List<String> values) {
            addCriterion("company_name not in", values, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameBetween(String value1, String value2) {
            addCriterion("company_name between", value1, value2, "companyName");
            return (Criteria) this;
        }

        public Criteria andCompanyNameNotBetween(String value1, String value2) {
            addCriterion("company_name not between", value1, value2, "companyName");
            return (Criteria) this;
        }
        
			
        public Criteria andOrganizationCodeIsNull() {
            addCriterion("organization_code is null");
            return (Criteria) this;
        }

        public Criteria andOrganizationCodeIsNotNull() {
            addCriterion("organization_code is not null");
            return (Criteria) this;
        }

        public Criteria andOrganizationCodeEqualTo(String value) {
            addCriterion("organization_code =", value, "organizationCode");
            return (Criteria) this;
        }

        public Criteria andOrganizationCodeNotEqualTo(String value) {
            addCriterion("organization_code <>", value, "organizationCode");
            return (Criteria) this;
        }

        public Criteria andOrganizationCodeGreaterThan(String value) {
            addCriterion("organization_code >", value, "organizationCode");
            return (Criteria) this;
        }

        public Criteria andOrganizationCodeGreaterThanOrEqualTo(String value) {
            addCriterion("organization_code >=", value, "organizationCode");
            return (Criteria) this;
        }

        public Criteria andOrganizationCodeLessThan(String value) {
            addCriterion("organization_code <", value, "organizationCode");
            return (Criteria) this;
        }

        public Criteria andOrganizationCodeLessThanOrEqualTo(String value) {
            addCriterion("organization_code <=", value, "organizationCode");
            return (Criteria) this;
        }

        public Criteria andOrganizationCodeLike(String value) {
            addCriterion("organization_code like", value, "organizationCode");
            return (Criteria) this;
        }

        public Criteria andOrganizationCodeNotLike(String value) {
            addCriterion("organization_code not like", value, "organizationCode");
            return (Criteria) this;
        }

        public Criteria andOrganizationCodeIn(List<String> values) {
            addCriterion("organization_code in", values, "organizationCode");
            return (Criteria) this;
        }

        public Criteria andOrganizationCodeNotIn(List<String> values) {
            addCriterion("organization_code not in", values, "organizationCode");
            return (Criteria) this;
        }

        public Criteria andOrganizationCodeBetween(String value1, String value2) {
            addCriterion("organization_code between", value1, value2, "organizationCode");
            return (Criteria) this;
        }

        public Criteria andOrganizationCodeNotBetween(String value1, String value2) {
            addCriterion("organization_code not between", value1, value2, "organizationCode");
            return (Criteria) this;
        }
        
			
        public Criteria andCompanyTypeIsNull() {
            addCriterion("company_type is null");
            return (Criteria) this;
        }

        public Criteria andCompanyTypeIsNotNull() {
            addCriterion("company_type is not null");
            return (Criteria) this;
        }

        public Criteria andCompanyTypeEqualTo(String value) {
            addCriterion("company_type =", value, "companyType");
            return (Criteria) this;
        }

        public Criteria andCompanyTypeNotEqualTo(String value) {
            addCriterion("company_type <>", value, "companyType");
            return (Criteria) this;
        }

        public Criteria andCompanyTypeGreaterThan(String value) {
            addCriterion("company_type >", value, "companyType");
            return (Criteria) this;
        }

        public Criteria andCompanyTypeGreaterThanOrEqualTo(String value) {
            addCriterion("company_type >=", value, "companyType");
            return (Criteria) this;
        }

        public Criteria andCompanyTypeLessThan(String value) {
            addCriterion("company_type <", value, "companyType");
            return (Criteria) this;
        }

        public Criteria andCompanyTypeLessThanOrEqualTo(String value) {
            addCriterion("company_type <=", value, "companyType");
            return (Criteria) this;
        }

        public Criteria andCompanyTypeLike(String value) {
            addCriterion("company_type like", value, "companyType");
            return (Criteria) this;
        }

        public Criteria andCompanyTypeNotLike(String value) {
            addCriterion("company_type not like", value, "companyType");
            return (Criteria) this;
        }

        public Criteria andCompanyTypeIn(List<String> values) {
            addCriterion("company_type in", values, "companyType");
            return (Criteria) this;
        }

        public Criteria andCompanyTypeNotIn(List<String> values) {
            addCriterion("company_type not in", values, "companyType");
            return (Criteria) this;
        }

        public Criteria andCompanyTypeBetween(String value1, String value2) {
            addCriterion("company_type between", value1, value2, "companyType");
            return (Criteria) this;
        }

        public Criteria andCompanyTypeNotBetween(String value1, String value2) {
            addCriterion("company_type not between", value1, value2, "companyType");
            return (Criteria) this;
        }
        
			
        public Criteria andCompanyIndustryIsNull() {
            addCriterion("company_industry is null");
            return (Criteria) this;
        }

        public Criteria andCompanyIndustryIsNotNull() {
            addCriterion("company_industry is not null");
            return (Criteria) this;
        }

        public Criteria andCompanyIndustryEqualTo(String value) {
            addCriterion("company_industry =", value, "companyIndustry");
            return (Criteria) this;
        }

        public Criteria andCompanyIndustryNotEqualTo(String value) {
            addCriterion("company_industry <>", value, "companyIndustry");
            return (Criteria) this;
        }

        public Criteria andCompanyIndustryGreaterThan(String value) {
            addCriterion("company_industry >", value, "companyIndustry");
            return (Criteria) this;
        }

        public Criteria andCompanyIndustryGreaterThanOrEqualTo(String value) {
            addCriterion("company_industry >=", value, "companyIndustry");
            return (Criteria) this;
        }

        public Criteria andCompanyIndustryLessThan(String value) {
            addCriterion("company_industry <", value, "companyIndustry");
            return (Criteria) this;
        }

        public Criteria andCompanyIndustryLessThanOrEqualTo(String value) {
            addCriterion("company_industry <=", value, "companyIndustry");
            return (Criteria) this;
        }

        public Criteria andCompanyIndustryLike(String value) {
            addCriterion("company_industry like", value, "companyIndustry");
            return (Criteria) this;
        }

        public Criteria andCompanyIndustryNotLike(String value) {
            addCriterion("company_industry not like", value, "companyIndustry");
            return (Criteria) this;
        }

        public Criteria andCompanyIndustryIn(List<String> values) {
            addCriterion("company_industry in", values, "companyIndustry");
            return (Criteria) this;
        }

        public Criteria andCompanyIndustryNotIn(List<String> values) {
            addCriterion("company_industry not in", values, "companyIndustry");
            return (Criteria) this;
        }

        public Criteria andCompanyIndustryBetween(String value1, String value2) {
            addCriterion("company_industry between", value1, value2, "companyIndustry");
            return (Criteria) this;
        }

        public Criteria andCompanyIndustryNotBetween(String value1, String value2) {
            addCriterion("company_industry not between", value1, value2, "companyIndustry");
            return (Criteria) this;
        }
        
			
        public Criteria andCompanyAddressIsNull() {
            addCriterion("company_address is null");
            return (Criteria) this;
        }

        public Criteria andCompanyAddressIsNotNull() {
            addCriterion("company_address is not null");
            return (Criteria) this;
        }

        public Criteria andCompanyAddressEqualTo(String value) {
            addCriterion("company_address =", value, "companyAddress");
            return (Criteria) this;
        }

        public Criteria andCompanyAddressNotEqualTo(String value) {
            addCriterion("company_address <>", value, "companyAddress");
            return (Criteria) this;
        }

        public Criteria andCompanyAddressGreaterThan(String value) {
            addCriterion("company_address >", value, "companyAddress");
            return (Criteria) this;
        }

        public Criteria andCompanyAddressGreaterThanOrEqualTo(String value) {
            addCriterion("company_address >=", value, "companyAddress");
            return (Criteria) this;
        }

        public Criteria andCompanyAddressLessThan(String value) {
            addCriterion("company_address <", value, "companyAddress");
            return (Criteria) this;
        }

        public Criteria andCompanyAddressLessThanOrEqualTo(String value) {
            addCriterion("company_address <=", value, "companyAddress");
            return (Criteria) this;
        }

        public Criteria andCompanyAddressLike(String value) {
            addCriterion("company_address like", value, "companyAddress");
            return (Criteria) this;
        }

        public Criteria andCompanyAddressNotLike(String value) {
            addCriterion("company_address not like", value, "companyAddress");
            return (Criteria) this;
        }

        public Criteria andCompanyAddressIn(List<String> values) {
            addCriterion("company_address in", values, "companyAddress");
            return (Criteria) this;
        }

        public Criteria andCompanyAddressNotIn(List<String> values) {
            addCriterion("company_address not in", values, "companyAddress");
            return (Criteria) this;
        }

        public Criteria andCompanyAddressBetween(String value1, String value2) {
            addCriterion("company_address between", value1, value2, "companyAddress");
            return (Criteria) this;
        }

        public Criteria andCompanyAddressNotBetween(String value1, String value2) {
            addCriterion("company_address not between", value1, value2, "companyAddress");
            return (Criteria) this;
        }
        
			
        public Criteria andCompanyPostcodeIsNull() {
            addCriterion("company_postcode is null");
            return (Criteria) this;
        }

        public Criteria andCompanyPostcodeIsNotNull() {
            addCriterion("company_postcode is not null");
            return (Criteria) this;
        }

        public Criteria andCompanyPostcodeEqualTo(String value) {
            addCriterion("company_postcode =", value, "companyPostcode");
            return (Criteria) this;
        }

        public Criteria andCompanyPostcodeNotEqualTo(String value) {
            addCriterion("company_postcode <>", value, "companyPostcode");
            return (Criteria) this;
        }

        public Criteria andCompanyPostcodeGreaterThan(String value) {
            addCriterion("company_postcode >", value, "companyPostcode");
            return (Criteria) this;
        }

        public Criteria andCompanyPostcodeGreaterThanOrEqualTo(String value) {
            addCriterion("company_postcode >=", value, "companyPostcode");
            return (Criteria) this;
        }

        public Criteria andCompanyPostcodeLessThan(String value) {
            addCriterion("company_postcode <", value, "companyPostcode");
            return (Criteria) this;
        }

        public Criteria andCompanyPostcodeLessThanOrEqualTo(String value) {
            addCriterion("company_postcode <=", value, "companyPostcode");
            return (Criteria) this;
        }

        public Criteria andCompanyPostcodeLike(String value) {
            addCriterion("company_postcode like", value, "companyPostcode");
            return (Criteria) this;
        }

        public Criteria andCompanyPostcodeNotLike(String value) {
            addCriterion("company_postcode not like", value, "companyPostcode");
            return (Criteria) this;
        }

        public Criteria andCompanyPostcodeIn(List<String> values) {
            addCriterion("company_postcode in", values, "companyPostcode");
            return (Criteria) this;
        }

        public Criteria andCompanyPostcodeNotIn(List<String> values) {
            addCriterion("company_postcode not in", values, "companyPostcode");
            return (Criteria) this;
        }

        public Criteria andCompanyPostcodeBetween(String value1, String value2) {
            addCriterion("company_postcode between", value1, value2, "companyPostcode");
            return (Criteria) this;
        }

        public Criteria andCompanyPostcodeNotBetween(String value1, String value2) {
            addCriterion("company_postcode not between", value1, value2, "companyPostcode");
            return (Criteria) this;
        }
        
			
        public Criteria andBusinessRegisterTimeIsNull() {
            addCriterion("business_register_time is null");
            return (Criteria) this;
        }

        public Criteria andBusinessRegisterTimeIsNotNull() {
            addCriterion("business_register_time is not null");
            return (Criteria) this;
        }

        public Criteria andBusinessRegisterTimeEqualTo(Date value) {
            addCriterion("business_register_time =", value, "businessRegisterTime");
            return (Criteria) this;
        }

        public Criteria andBusinessRegisterTimeNotEqualTo(Date value) {
            addCriterion("business_register_time <>", value, "businessRegisterTime");
            return (Criteria) this;
        }

        public Criteria andBusinessRegisterTimeGreaterThan(Date value) {
            addCriterion("business_register_time >", value, "businessRegisterTime");
            return (Criteria) this;
        }

        public Criteria andBusinessRegisterTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("business_register_time >=", value, "businessRegisterTime");
            return (Criteria) this;
        }

        public Criteria andBusinessRegisterTimeLessThan(Date value) {
            addCriterion("business_register_time <", value, "businessRegisterTime");
            return (Criteria) this;
        }

        public Criteria andBusinessRegisterTimeLessThanOrEqualTo(Date value) {
            addCriterion("business_register_time <=", value, "businessRegisterTime");
            return (Criteria) this;
        }

        public Criteria andBusinessRegisterTimeLike(Date value) {
            addCriterion("business_register_time like", value, "businessRegisterTime");
            return (Criteria) this;
        }

        public Criteria andBusinessRegisterTimeNotLike(Date value) {
            addCriterion("business_register_time not like", value, "businessRegisterTime");
            return (Criteria) this;
        }

        public Criteria andBusinessRegisterTimeIn(List<Date> values) {
            addCriterion("business_register_time in", values, "businessRegisterTime");
            return (Criteria) this;
        }

        public Criteria andBusinessRegisterTimeNotIn(List<Date> values) {
            addCriterion("business_register_time not in", values, "businessRegisterTime");
            return (Criteria) this;
        }

        public Criteria andBusinessRegisterTimeBetween(Date value1, Date value2) {
            addCriterion("business_register_time between", value1, value2, "businessRegisterTime");
            return (Criteria) this;
        }

        public Criteria andBusinessRegisterTimeNotBetween(Date value1, Date value2) {
            addCriterion("business_register_time not between", value1, value2, "businessRegisterTime");
            return (Criteria) this;
        }
        
			
        public Criteria andBusinessRegisterNoIsNull() {
            addCriterion("business_register_no is null");
            return (Criteria) this;
        }

        public Criteria andBusinessRegisterNoIsNotNull() {
            addCriterion("business_register_no is not null");
            return (Criteria) this;
        }

        public Criteria andBusinessRegisterNoEqualTo(String value) {
            addCriterion("business_register_no =", value, "businessRegisterNo");
            return (Criteria) this;
        }

        public Criteria andBusinessRegisterNoNotEqualTo(String value) {
            addCriterion("business_register_no <>", value, "businessRegisterNo");
            return (Criteria) this;
        }

        public Criteria andBusinessRegisterNoGreaterThan(String value) {
            addCriterion("business_register_no >", value, "businessRegisterNo");
            return (Criteria) this;
        }

        public Criteria andBusinessRegisterNoGreaterThanOrEqualTo(String value) {
            addCriterion("business_register_no >=", value, "businessRegisterNo");
            return (Criteria) this;
        }

        public Criteria andBusinessRegisterNoLessThan(String value) {
            addCriterion("business_register_no <", value, "businessRegisterNo");
            return (Criteria) this;
        }

        public Criteria andBusinessRegisterNoLessThanOrEqualTo(String value) {
            addCriterion("business_register_no <=", value, "businessRegisterNo");
            return (Criteria) this;
        }

        public Criteria andBusinessRegisterNoLike(String value) {
            addCriterion("business_register_no like", value, "businessRegisterNo");
            return (Criteria) this;
        }

        public Criteria andBusinessRegisterNoNotLike(String value) {
            addCriterion("business_register_no not like", value, "businessRegisterNo");
            return (Criteria) this;
        }

        public Criteria andBusinessRegisterNoIn(List<String> values) {
            addCriterion("business_register_no in", values, "businessRegisterNo");
            return (Criteria) this;
        }

        public Criteria andBusinessRegisterNoNotIn(List<String> values) {
            addCriterion("business_register_no not in", values, "businessRegisterNo");
            return (Criteria) this;
        }

        public Criteria andBusinessRegisterNoBetween(String value1, String value2) {
            addCriterion("business_register_no between", value1, value2, "businessRegisterNo");
            return (Criteria) this;
        }

        public Criteria andBusinessRegisterNoNotBetween(String value1, String value2) {
            addCriterion("business_register_no not between", value1, value2, "businessRegisterNo");
            return (Criteria) this;
        }
        
			
        public Criteria andPhoneIsNull() {
            addCriterion("phone is null");
            return (Criteria) this;
        }

        public Criteria andPhoneIsNotNull() {
            addCriterion("phone is not null");
            return (Criteria) this;
        }

        public Criteria andPhoneEqualTo(String value) {
            addCriterion("phone =", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotEqualTo(String value) {
            addCriterion("phone <>", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneGreaterThan(String value) {
            addCriterion("phone >", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("phone >=", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLessThan(String value) {
            addCriterion("phone <", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLessThanOrEqualTo(String value) {
            addCriterion("phone <=", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneLike(String value) {
            addCriterion("phone like", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotLike(String value) {
            addCriterion("phone not like", value, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneIn(List<String> values) {
            addCriterion("phone in", values, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotIn(List<String> values) {
            addCriterion("phone not in", values, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneBetween(String value1, String value2) {
            addCriterion("phone between", value1, value2, "phone");
            return (Criteria) this;
        }

        public Criteria andPhoneNotBetween(String value1, String value2) {
            addCriterion("phone not between", value1, value2, "phone");
            return (Criteria) this;
        }
        
			
        public Criteria andCompanyWebIsNull() {
            addCriterion("company_web is null");
            return (Criteria) this;
        }

        public Criteria andCompanyWebIsNotNull() {
            addCriterion("company_web is not null");
            return (Criteria) this;
        }

        public Criteria andCompanyWebEqualTo(String value) {
            addCriterion("company_web =", value, "companyWeb");
            return (Criteria) this;
        }

        public Criteria andCompanyWebNotEqualTo(String value) {
            addCriterion("company_web <>", value, "companyWeb");
            return (Criteria) this;
        }

        public Criteria andCompanyWebGreaterThan(String value) {
            addCriterion("company_web >", value, "companyWeb");
            return (Criteria) this;
        }

        public Criteria andCompanyWebGreaterThanOrEqualTo(String value) {
            addCriterion("company_web >=", value, "companyWeb");
            return (Criteria) this;
        }

        public Criteria andCompanyWebLessThan(String value) {
            addCriterion("company_web <", value, "companyWeb");
            return (Criteria) this;
        }

        public Criteria andCompanyWebLessThanOrEqualTo(String value) {
            addCriterion("company_web <=", value, "companyWeb");
            return (Criteria) this;
        }

        public Criteria andCompanyWebLike(String value) {
            addCriterion("company_web like", value, "companyWeb");
            return (Criteria) this;
        }

        public Criteria andCompanyWebNotLike(String value) {
            addCriterion("company_web not like", value, "companyWeb");
            return (Criteria) this;
        }

        public Criteria andCompanyWebIn(List<String> values) {
            addCriterion("company_web in", values, "companyWeb");
            return (Criteria) this;
        }

        public Criteria andCompanyWebNotIn(List<String> values) {
            addCriterion("company_web not in", values, "companyWeb");
            return (Criteria) this;
        }

        public Criteria andCompanyWebBetween(String value1, String value2) {
            addCriterion("company_web between", value1, value2, "companyWeb");
            return (Criteria) this;
        }

        public Criteria andCompanyWebNotBetween(String value1, String value2) {
            addCriterion("company_web not between", value1, value2, "companyWeb");
            return (Criteria) this;
        }
        
			
        public Criteria andCompanyDetailsIsNull() {
            addCriterion("company_details is null");
            return (Criteria) this;
        }

        public Criteria andCompanyDetailsIsNotNull() {
            addCriterion("company_details is not null");
            return (Criteria) this;
        }

        public Criteria andCompanyDetailsEqualTo(String value) {
            addCriterion("company_details =", value, "companyDetails");
            return (Criteria) this;
        }

        public Criteria andCompanyDetailsNotEqualTo(String value) {
            addCriterion("company_details <>", value, "companyDetails");
            return (Criteria) this;
        }

        public Criteria andCompanyDetailsGreaterThan(String value) {
            addCriterion("company_details >", value, "companyDetails");
            return (Criteria) this;
        }

        public Criteria andCompanyDetailsGreaterThanOrEqualTo(String value) {
            addCriterion("company_details >=", value, "companyDetails");
            return (Criteria) this;
        }

        public Criteria andCompanyDetailsLessThan(String value) {
            addCriterion("company_details <", value, "companyDetails");
            return (Criteria) this;
        }

        public Criteria andCompanyDetailsLessThanOrEqualTo(String value) {
            addCriterion("company_details <=", value, "companyDetails");
            return (Criteria) this;
        }

        public Criteria andCompanyDetailsLike(String value) {
            addCriterion("company_details like", value, "companyDetails");
            return (Criteria) this;
        }

        public Criteria andCompanyDetailsNotLike(String value) {
            addCriterion("company_details not like", value, "companyDetails");
            return (Criteria) this;
        }

        public Criteria andCompanyDetailsIn(List<String> values) {
            addCriterion("company_details in", values, "companyDetails");
            return (Criteria) this;
        }

        public Criteria andCompanyDetailsNotIn(List<String> values) {
            addCriterion("company_details not in", values, "companyDetails");
            return (Criteria) this;
        }

        public Criteria andCompanyDetailsBetween(String value1, String value2) {
            addCriterion("company_details between", value1, value2, "companyDetails");
            return (Criteria) this;
        }

        public Criteria andCompanyDetailsNotBetween(String value1, String value2) {
            addCriterion("company_details not between", value1, value2, "companyDetails");
            return (Criteria) this;
        }
        
	}

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}